package com.ruige.account.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDate;

public class QueryVo {
    private Integer year;
    private Integer month;
    private Integer day;
    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate date;
    private Integer userId;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public Integer getDay() {
        return day;
    }

    public void setDay(Integer day) {
        this.day = day;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }


    @Override
    public String toString() {
        return "QueryVo{" +
                "year=" + year +
                ", month=" + month +
                ", day=" + day +
                ", date=" + date +
                '}';
    }
}
